A Hyperdoctrinal View of Concurrent Constraint Programming
نویسندگان
چکیده
We study a relationship between logic and computation via concurrent constraint programming. In previous papers it has been shown how a simple language for specifying asynchronous concurrent processes can be interpreted in terms of constraints. In the present paper we show that the programming interpretation via closure operators is intimately related to the logic of the constraints. More precisely we show how the usual hyperdoctrinal description of rst order logic can be functorially related to another hyperdoctrine built out of closure operators. The logical connectives map onto constructions on closure operators that turn out to model programming constructs, speci cally conjunction becomes parallel composition and existential quanti cation becomes hiding of local variables.
منابع مشابه
Ports for Objects in Concurrent Logic Programs
We introduce ports, an alternative to streams, as communication support for object-oriented programming in concurrent constraint logic programming languages. From a pragmatic point of view ports provide e cient many-toone communication, object identity, means for garbage collection of objects, and opportunities for optimised compilation techniques for concurrent objects. From a semantic point o...
متن کاملSome Methodological Issues in the Design of CIAO, a Generic, Parallel Concurrent Constraint Logic Programming System
A b s t r a c t . We informally discuss several issues related to the parallel execution of logic programming systems and concurrent logic programming systems, and their generalization to constraint programming. We propose a new view of these systems, based on a particular definition of parallelism. We argüe that, under this view, a large number of the actual systems and models can be explained...
متن کاملLattices for Space/Belief and Extrusion/Utterance
The notion of constraint system (cs) is central to declarative programming formalisms such as concurrent constraint programming (ccp) and constraint logic programming (clp). Constraint systems are often represented as lattices: their elements, called constraints, represent partial information and their order corresponds to entailment. Recently a notion of (n-agent) spatial cs was introduced to ...
متن کاملA Paradigm for Asynchronous Communication and its Application to Concurrent Constraint Programming
We develop a general semantic theory of asynchronous communication in concurrent logic and concurrent constraint languages. The main characteristic of these languages, from the point of view of the communication mechanism, is that processes interact by querying and updating some common data structure. We abstract from the speciic features of the underlying data structure by means of a uniform l...
متن کاملLogic Programming and Concurrency: A Personal Perspective
I was asked to contribute a personal, historical perspective of logic programming (and presumably its relation to concurrency). I once wrote my personal perspective for Communications of the ACM in 1993 [1]. The article was also intended to record a detailed, historical account of the design process of Guarded Horn Clauses (GHC) and the kernel language (KL1) of the Japanese Fifth Generation Com...
متن کامل